Platform Explorer / Nuxeo Platform 6.0

Contribution studio.extensions.template-module-demo--types

This contribution is part of XML component studio.extensions.template-module-demo inside nuxeo-template-rendering-samples-6.0.jar

Extension Point

Extension point types of component TypeService.

Contributed Items

  • <type id="CustomerReference">
          <label>Customer Reference</label>
          <description/>
          <default-view>view_documents</default-view>
          <layouts mode="create">
            <layout>layout@CustomerReference-create</layout>
          </layouts>
          <layouts mode="edit">
            <layout>layout@CustomerReference-edit</layout>
          </layouts>
          <layouts mode="view">
            <layout>layout@CustomerReference-view</layout>
          </layouts>
        </type>
  • <type id="Folder">
          <subtypes>
            <type>CustomerReference</type>
          </subtypes>
        </type>
  • <type id="Workspace">
          <subtypes>
            <type>CustomerReference</type>
          </subtypes>
        </type>
  • <type id="InterventionStatement">
          <label>Intervention Statement</label>
          <description>Statement that consultants have to bring back signed after an intervention at client's site</description>
          <default-view>view_documents</default-view>
          <layouts mode="create">
            <layout>layout@InterventionStatement-create</layout>
          </layouts>
          <layouts mode="edit">
            <layout>layout@InterventionStatement-edit</layout>
          </layouts>
          <layouts mode="view">
            <layout>layout@InterventionStatement-view</layout>
          </layouts>
        </type>

    Statement that consultants have to bring back signed after an intervention at client's site

  • <type id="Folder">
          <subtypes>
            <type>InterventionStatement</type>
          </subtypes>
        </type>
  • <type id="Workspace">
          <subtypes>
            <type>InterventionStatement</type>
          </subtypes>
        </type>

XML Source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">
    <type id="CustomerReference">
      <label>Customer Reference</label>
      <description/>
      <default-view>view_documents</default-view>
      <layouts mode="create">
        <layout>layout@CustomerReference-create</layout>
      </layouts>
      <layouts mode="edit">
        <layout>layout@CustomerReference-edit</layout>
      </layouts>
      <layouts mode="view">
        <layout>layout@CustomerReference-view</layout>
      </layouts>
    </type>
    <type id="Folder">
      <subtypes>
        <type>CustomerReference</type>
      </subtypes>
    </type>
    <type id="Workspace">
      <subtypes>
        <type>CustomerReference</type>
      </subtypes>
    </type>
    <type id="InterventionStatement">
      <label>Intervention Statement</label>
      <description>Statement that consultants have to bring back signed after an intervention at client's site</description>
      <default-view>view_documents</default-view>
      <layouts mode="create">
        <layout>layout@InterventionStatement-create</layout>
      </layouts>
      <layouts mode="edit">
        <layout>layout@InterventionStatement-edit</layout>
      </layouts>
      <layouts mode="view">
        <layout>layout@InterventionStatement-view</layout>
      </layouts>
    </type>
    <type id="Folder">
      <subtypes>
        <type>InterventionStatement</type>
      </subtypes>
    </type>
    <type id="Workspace">
      <subtypes>
        <type>InterventionStatement</type>
      </subtypes>
    </type>
  </extension>